/* 搜索框样式 */
.search-bar {
    /*max-width: 1000px;*/
    background-color: #f0f0f0;
    padding: 10px;
    position: fixed;
    top: 120px; /* 增加与导航栏的距离 */
    left: 20%;
    right: 20%;
    z-index: 999;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: flex;
    justify-content: center; /* 居中显示 */
    background: rgba(255, 255, 255, 0.8);
}

.search-bar input[type="text"] {
    width: 200px; /* 缩短搜索框长度 */
    padding: 10px;
    border: 1px solid #ddd;
}

.search-bar button[type="submit"] {
    width: 80px; /* 确定搜索按钮的宽度 */
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

.search-bar button[type="submit"]:hover {
    background-color: #45a049;
}